<!DOCTYPE html>
<html lang="en" class="rightBlock1">
  <head>
    <meta charset="UTF-8" />
    <meta
      name="viewport"
      content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"
    />
    <link rel="stylesheet" href="../../public/css/index.css" />
    <link rel="stylesheet" href="../../public/css/for.css" />
    <link rel="stylesheet" href="./main.css" />
    <link rel="stylesheet" href="../../public/css/iframeMedia.css" />
  </head>
  <body>
    <div class="main-container">
      <div class="bg1"></div>
      <div class="bgCon flex">
        <div class="bg2">
          <img src="../../public/images/bg2.png" />
        </div>
        <div class="bg3">
          <img src="../../public/images/bg3.png" />
        </div>
      </div>
      <div class="bgCon">
        <div class="title">常用工具</div>
        <div class="core-flex-center rightConten2 bgCon">
          <div class="r1 core-flex-center">
            <div class="itemBox">
              <div class="item">
                <div class="icon">
                  <img src="../../public/images/r2-1.png" />
                </div>
                <div class="text">AI眼镜</div>
              </div>
              <div class="item item2">
                <div class="icon">
                  <img src="../../public/images/r2-2.png" />
                </div>
                <div class="text">AI饮食</div>
              </div>
            </div>
            <div class="normalToolItem itemBox">
              <div class="item">
                <div class="icon">
                  <img src="../../public/images/r2-3.png" />
                </div>
                <div class="text">AI远程</div>
              </div>
              <div class="item item2">
                <div class="icon">
                  <img src="../../public/images/r2-4.png" />
                </div>
                <div class="text">AI运动</div>
              </div>
            </div>
          </div>
          <div class="r2 core-flex-center">
            <div class="itemBox">
              <div class="item">
                <div class="icon">
                  <img src="../../public/images/r2-5.png" />
                </div>
                <div class="text">AI训练</div>
              </div>
              <div class="item item2">
                <div class="icon">
                  <img src="../../public/images/r2-6.png" />
                </div>
                <div class="text">健康检测</div>
              </div>
            </div>
            <div class="normalToolItem itemBox">
              <div class="item">
                <div class="icon">
                  <img src="../../public/images/r2-7.png" />
                </div>
                <div class="text">AI宣教</div>
              </div>
              <div class="item item2">
                <div class="icon">
                  <img src="../../public/images/r2-8.png" />
                </div>
                <div class="text">AI提醒</div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <div class="rightContent3">
        <div class="core-flex-center">
          <div class="item firstItem">
            <div class="core-flex-center core-flex-justify-between">
              <div class="text">AI指南</div>
              <div class="arrow-right">
                <img src="../../public/images/arrow-right.png" />
              </div>
            </div>
            <div class="bottomContent" id="bottomContent">
              <div class="core-flex-center core-flex-justify-between">
                <div class="item core-flex-center active">高血压</div>
                <div class="item core-flex-center">糖尿病</div>
                <div class="item core-flex-center">高血脂</div>
              </div>
              <div class="core-flex-center core-flex-justify-between mt">
                <div class="item core-flex-center">冠心病</div>
                <div class="item core-flex-center">脑卒中</div>
                <div class="item core-flex-center none"></div>
              </div>
            </div>
            <div class="lastContent list">
              <div class="list-item core-flex-center core-flex-justify-start">
                <div class="imgCon">
                  <img src="../../public/images/r3-1.png" />
                </div>
                <div class="c-m-l-10">
                  <div class="content">
                    <div class="title">
                      高血压营养和运动指导原则营养指导原则
                    </div>
                  </div>
                  <div class="tip">2024-07-09 13:33:00</div>
                </div>
              </div>
              <div
                class="list-item core-flex-center core-flex-justify-start c-m-t-20"
              >
                <div class="imgCon">
                  <img src="../../public/images/r3-2.png" />
                </div>
                <div class="c-m-l-10">
                  <div class="content">
                    <div class="title">
                      如何安全有效地控制血压？一起来了解降压药物的选择...
                    </div>
                  </div>
                  <div class="tip">2024-07-09 13:33:00</div>
                </div>
              </div>
              <div
                class="list-item core-flex-center core-flex-justify-start c-m-t-20"
              >
                <div class="imgCon">
                  <img src="../../public/images/r3-3.png" />
                </div>
                <div class="c-m-l-10">
                  <div class="content">
                    <div class="title">气温上升，降压药可以减或停吗？</div>
                  </div>
                  <div class="tip">2024-07-09 13:33:00</div>
                </div>
              </div>
              <div
                class="list-item core-flex-center core-flex-justify-start c-m-t-20"
              >
                <div class="imgCon">
                  <img src="../../public/images/r3-4.png" />
                </div>
                <div class="c-m-l-10">
                  <div class="content">
                    <div class="title">肿瘤专科护理交流</div>
                  </div>
                  <div class="tip">2024-07-09 13:33:00</div>
                </div>
              </div>
              <div
                class="list-item core-flex-center core-flex-justify-start c-m-t-20"
              >
                <div class="imgCon">
                  <img src="../../public/images/r3-4.png" />
                </div>
                <div class="c-m-l-10">
                  <div class="content">
                    <div class="title">肿瘤专科护理交流</div>
                  </div>
                  <div class="tip">2024-07-09 13:33:00</div>
                </div>
              </div>
              <div
                class="list-item core-flex-center core-flex-justify-start c-m-t-20"
              >
                <div class="imgCon">
                  <img src="../../public/images/r3-4.png" />
                </div>
                <div class="c-m-l-10">
                  <div class="content">
                    <div class="title">肿瘤专科护理交流</div>
                  </div>
                  <div class="tip">2024-07-09 13:33:00</div>
                </div>
              </div>
            </div>
          </div>
          <div class="item firstItem">
            <div class="core-flex-center core-flex-justify-between">
              <div class="text">AI用药</div>
              <div class="arrow-right">
                <img src="../../public/images/arrow-right.png" />
              </div>
            </div>
            <div class="bottomContent" id="bottomContent1">
              <div class="core-flex-center core-flex-justify-between">
                <div class="item core-flex-center active">高血压</div>
                <div class="item core-flex-center">糖尿病</div>
                <div class="item core-flex-center">高血脂</div>
              </div>
              <div class="core-flex-center core-flex-justify-between mt">
                <div class="item core-flex-center">冠心病</div>
                <div class="item core-flex-center">脑卒中</div>
                <div class="item core-flex-center none"></div>
              </div>
            </div>
            <div class="lastContent list">
              <div class="list-item core-flex-center core-flex-justify-start">
                <div class="imgCon">
                  <img src="../../public/images/r3-1.png" />
                </div>
                <div class="c-m-l-10">
                  <div class="content">
                    <div class="title">
                      高血压营养和运动指导原则营养指导原则
                    </div>
                  </div>
                  <div class="tip">2024-07-09 13:33:00</div>
                </div>
              </div>
              <div
                class="list-item core-flex-center core-flex-justify-start c-m-t-20"
              >
                <div class="imgCon">
                  <img src="../../public/images/r3-2.png" />
                </div>
                <div class="c-m-l-10">
                  <div class="content">
                    <div class="title">
                      如何安全有效地控制血压？一起来了解降压药物的选择...
                    </div>
                  </div>
                  <div class="tip">2024-07-09 13:33:00</div>
                </div>
              </div>
              <div
                class="list-item core-flex-center core-flex-justify-start c-m-t-20"
              >
                <div class="imgCon">
                  <img src="../../public/images/r3-3.png" />
                </div>
                <div class="c-m-l-10">
                  <div class="content">
                    <div class="title">气温上升，降压药可以减或停吗？</div>
                  </div>
                  <div class="tip">2024-07-09 13:33:00</div>
                </div>
              </div>
              <div
                class="list-item core-flex-center core-flex-justify-start c-m-t-20"
              >
                <div class="imgCon">
                  <img src="../../public/images/r3-4.png" />
                </div>
                <div class="c-m-l-10">
                  <div class="content">
                    <div class="title">肿瘤专科护理交流</div>
                  </div>
                  <div class="tip">2024-07-09 13:33:00</div>
                </div>
              </div>
              <div
                class="list-item core-flex-center core-flex-justify-start c-m-t-20"
              >
                <div class="imgCon">
                  <img src="../../public/images/r3-4.png" />
                </div>
                <div class="c-m-l-10">
                  <div class="content">
                    <div class="title">肿瘤专科护理交流</div>
                  </div>
                  <div class="tip">2024-07-09 13:33:00</div>
                </div>
              </div>
              <div
                class="list-item core-flex-center core-flex-justify-start c-m-t-20"
              >
                <div class="imgCon">
                  <img src="../../public/images/r3-4.png" />
                </div>
                <div class="c-m-l-10">
                  <div class="content">
                    <div class="title">肿瘤专科护理交流</div>
                  </div>
                  <div class="tip">2024-07-09 13:33:00</div>
                </div>
              </div>
              <div
                class="list-item core-flex-center core-flex-justify-start c-m-t-20"
              >
                <div class="imgCon">
                  <img src="../../public/images/r3-4.png" />
                </div>
                <div class="c-m-l-10">
                  <div class="content">
                    <div class="title">肿瘤专科护理交流</div>
                  </div>
                  <div class="tip">2024-07-09 13:33:00</div>
                </div>
              </div>
              <div
                class="list-item core-flex-center core-flex-justify-start c-m-t-20"
              >
                <div class="imgCon">
                  <img src="../../public/images/r3-4.png" />
                </div>
                <div class="c-m-l-10">
                  <div class="content">
                    <div class="title">肿瘤专科护理交流</div>
                  </div>
                  <div class="tip">2024-07-09 13:33:00</div>
                </div>
              </div>
              <div
                class="list-item core-flex-center core-flex-justify-start c-m-t-20"
              >
                <div class="imgCon">
                  <img src="../../public/images/r3-4.png" />
                </div>
                <div class="c-m-l-10">
                  <div class="content">
                    <div class="title">肿瘤专科护理交流</div>
                  </div>
                  <div class="tip">2024-07-09 13:33:00</div>
                </div>
              </div>
              <div
                class="list-item core-flex-center core-flex-justify-start c-m-t-20"
              >
                <div class="imgCon">
                  <img src="../../public/images/r3-4.png" />
                </div>
                <div class="c-m-l-10">
                  <div class="content">
                    <div class="title">肿瘤专科护理交流</div>
                  </div>
                  <div class="tip">2024-07-09 13:33:00</div>
                </div>
              </div>
              <div
                class="list-item core-flex-center core-flex-justify-start c-m-t-20"
              >
                <div class="imgCon">
                  <img src="../../public/images/r3-4.png" />
                </div>
                <div class="c-m-l-10">
                  <div class="content">
                    <div class="title">肿瘤专科护理交流</div>
                  </div>
                  <div class="tip">2024-07-09 13:33:00</div>
                </div>
              </div>
              <div
                class="list-item core-flex-center core-flex-justify-start c-m-t-20"
              >
                <div class="imgCon">
                  <img src="../../public/images/r3-4.png" />
                </div>
                <div class="c-m-l-10">
                  <div class="content">
                    <div class="title">肿瘤专科护理交流</div>
                  </div>
                  <div class="tip">2024-07-09 13:33:00</div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </body>
</html>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script>
  $(document).ready(function () {
    // 使用事件委托来绑定点击事件
    $(".bottomContent").on("click", ".item", function () {
      // 获取当前点击的 .item 所属的 .bottomContent
      const $bottomContent = $(this).closest(".bottomContent");

      // 移除当前 .bottomContent 内所有 .item 元素的 active 类
      $bottomContent.find(".item").removeClass("active");

      // 为被点击的元素添加 active 类
      $(this).addClass("active");
    });
  });
</script>
